<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript">

		console.log(location);

		// location.href="http://www.baidu.com";
		function run () {
			location.replace('http://www.baidu.com');
		}

		setTimeout(run, 3000)


	</script>
</head>
<body>
	
</body>
</html>